package com.example.flowabledemo.listener;

import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.delegate.TaskListener;
import org.flowable.task.service.delegate.DelegateTask;
import org.springframework.stereotype.Component;

/**
 * @ClassName: TaskCreateListener
 * @Description:
 * @Date 2024/05/21 10:31
 * @Author songshaoqiu
 **/
@Component
@Slf4j
public class TaskAssignmentListener implements TaskListener {
    @Override
    public void notify(DelegateTask delegateTask) {
        log.info("assignment_事件执行了,【{}】",delegateTask);
    }
}
